package com.demo.controller;

import java.util.ArrayList;
import java.util.List;

/**
 * @author : mifei
 * @date : 2021/10/26
 */
public class TestOOM {
    public static void main(String[] args) {
        //byte[] a = new byte[1024 * 1024];
        List<Object> list = new ArrayList<>();
        while (true) {
            list.add(new User());
        }
    }
}
